package Exer02_运算符;

import java.util.Scanner;

public class _1_2_1_简单运算符 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入正整数a:");
        int a = scanner.nextInt();
        System.out.println("请输入正整数b：");
        int b = scanner.nextInt();
        System.out.println("和："+ (a+b) + "\n差："+ (a-b) + "\n积："+ (a*b) + "\n商：" + (a/b) + "\n模："+(a%b));
        scanner.close();
    }
}
